package com.luzhikun.dao;

import com.luzhikun.domain.User;

public interface UserDao {
    /*
     * @Author liu-miss
     * @Description 用户登录
     * @Date 13:55 2021/5/24
     * @Param [username]
     * @return com.luzhikun.domain.User
     **/
    public User userLogin(String username);
    /*
     * @Author liu-miss
     * @Description 查询所有用户
     * @Date 13:55 2021/5/24
     * @Param []
     * @return com.luzhikun.domain.User
     **/
    public User userId();
    /*
     * @Author liu-miss
     * @Description 用户注册
     * @Date 13:56 2021/5/24
     * @Param [username, password]
     * @return void
     **/
    void userIndex(String username, String password,String phone);
    /*
     * @Author liu-miss
     * @Description 匹配是否有相同的手机号
     * @Date 13:56 2021/5/24
     * @Param
     * @return
     **/
    User indexSelectPhone(String phone);

}
